﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>百度_全体</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
    <style>
        body {
            max-width: 800px;
            margin: 0 auto;
        }

        #box {
            width: 100%;
            height: 100vh;
            /* overflow-y: auto; */
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .ifr{
            width: 100%;
            flex: 1;
            overflow-y: auto;
        }

        #ifr {
            width: 100%;
            height: 2000px;
        }

        button {
            margin-right: 5px;
            margin-top: 5px;
        }

        .btn-grounp button {
            padding: 0 12px;
            font-size: 14px;
            height: 30px;
            line-height: 28px;
        }

        .dsnone {
            display: none;
        }

        #pkid {
            display: inline-block;
            font-size: 22px;
            font-weight: bold;
            height: 30px;
            line-height: 30px;
            min-width: 56px;
            text-align: center;
            margin-right: 5px;
        }

        #indexid {
            display: inline-block;
            font-size: 16px;
            color: green;
            height: 30px;
            line-height: 30px;
            min-width: 56px;
            text-align: center;
        }
        #bozhong{
            position: absolute;
            left: 140px;
            top: 52%;
            display: none;
        }
        #bozhong button{
            padding: 0 12px;
            font-size: 14px;
            height: 30px;
            line-height: 28px;
            background-color: yellow;
            border-color: yellow;
        }
    </style>
</head>

<body>
    <div id="box">
        <div class="btn-grounp" style="margin-top:5px;">
            <button type="button" onclick="startFun1000()">首页</button>
            <button type="button" onclick="startFun1001()">下标</button>
            <button type="button" onclick="startFun1002()">换号</button>
            <button type="button" onclick="startFun1003()">开起播种按钮</button>
            <button type="button" onclick="startFun1004()">设置种子ID</button>
            <button type="button" onclick="startFun1005()">设置水值ID</button>
            <br />
            <button type="button" onclick="startFun2000()">初始</button>
            <button type="button" onclick="startFun2001()">花园</button>
            <button type="button" onclick="startFun2002()">换号</button>
            <button type="button" onclick="startFun2003()">收花</button>
            <button type="button" onclick="startFun2005()">打理</button>
            <button type="button" onclick="startFun2006()">道具背包</button>
            <button type="button" onclick="startFun2010()">道具商城</button>
            <br />
            <button type="button" onclick="startFun3001()">一键帮忙打理</button>
            <button type="button" onclick="startFun3002()">一键采摘</button>
            <button type="button" onclick="startFun3005()">一键签到</button>
            <button type="button" onclick="startFun3006()">一键购买赐福</button>
            <br />
            <button type="button" onclick="startFun3003()">一键收花</button>
            <button type="button" onclick="startFun3007()">一键播种</button>
            <button type="button" onclick="startFun3004()">一键打理</button>
            <button type="button" onclick="startFun3008()">一键买花</button>
            <br />
            <button type="button" onclick="window.location.reload()">刷新</button>
            <button type="button" onclick="window.location.href = './hs_token.html'">token</button>
            <button type="button" onclick="window.location.href = './hs2.html'">一键模式</button>
            <button id="xunhuan" type="button" onclick="startFun1006()">开起循环魔法0</button>
            <br />
            <span id="pkid"></span>
            <span id="indexid">0</span>
        </div>
        <div class="ifr">
            <iframe id="ifr" src="https://www.hsly666.com" frameborder="0"></iframe>
        </div>
        <div id="bozhong">
            <button type="button" onclick="startFun2004()">播种</button>
            <button type="button" onclick="startFun2009()">换号</button>
            <button type="button" onclick="startFun2007()">买种子</button>
            <button type="button" onclick="startFun2008()">买水植</button>
        </div>
    </div>
    <script src="./jquery.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="./hs.js?v1.2.6"></script>
    <script>
        var ifr = document.getElementById("ifr")
        var pkid = document.getElementById("pkid")
        var indexid = document.getElementById("indexid")
        var token_zhuhao = ''
        var token_idx = 0
        var token_dan = ''
        var hs_token_list_all = []
        var zhongziName = '梅花'
        var zhongziId = '5e193355dh'
        var zhongziIdNum = '10'
        var shuizhiName = '萍水草'
        var shuizhiId = 'r645337y9w'
        var shuizhiIdNum = '1'
        var hs_isauto_shouhua = '0'
        // 花盆ID数组
        /*
            1.0.0
        */
        var huapeng_list_all = [
            ['f002778919', '2de1ba84d5', '563eba3a26', '694022511e', '20d12f1829', '9ad0335d8e', '1bd509f62d', '313dc2d43c'],
            ['edf68e7a85', '64a8abd53c', 'dd7bfa794d', 'a2e68b9baa', '39d4855306', '15cd2df4c1', '173bf03665'],
            ['c69934a882', 'bf560001d7', '383ce7a1c9', 'ba48f6c7a1', 'b3db2fe33a', '6979efc402', 'bb695f57d2'],
            ['bed2a53830', '3f9dbde855', '0f56782c36', '6a58980d2e', 'c6db848eed', '68585eacc5', '8521e8442e'],
            ['f37f5b2782', '58edc6b366', 'a8efb90548', 'c4087e977a', '55bbcb7ef2', '29b46143d1', '443d10de0c'],
            ['11f3ac7a0a', '2ef752dae3', 'dae6e60898', '442d6aae45', 'f95269b0c5', '691c885537' ,'e6c2c84cfa'],
            ['f4478f14cc', '77fc9fae0c', '286aa4efb9', '7c92cf9743', 'f602767bfe', '8a0b10b71a'],
            ['7e149a71c1', 'f26a493e18', '19d06bd088', '89d36f733a', 'd99cedf5f8', '67cd034f43'],
            ['97e73f34f4', '5f7d470084', 'd17f992e19', '82320c6609', 'fc86e63bed', '599de67759'],
            ['e5e9d5dda2', 'c97b8a6090', 'f71fa98022', '6a90c92e8d', '47a29486ec', 'fb579d70ec'],
            ['b1453562be', 'a60bda9801', '371ce5bc54', '6f5038fb41', '48e50621e3', '5d946beb2b'],
            ['f6d6d1f1f3', 'dbb9996e20', '8cf1c2ed25', '727d9fdef0', 'e438c2decf', '7c25f7ef1d'],
            ['6bf16c0e64', 'c1b687c864', '04f6a71812', '4291ec94e0', '38ddd535b2', '012cdd5b56'],
            ['0768580752', '0a56b12479', 'c27e2eaac7', '14da52e713', 'c38a33fe9f', '535c9522c3'],
            ['26ce8f96f3', '7313d94c79', '0b94b9a5a6', '5cdc37d532', 'bebfd4d3f1', '909b0d3c33'],
            ['928b29dcab', 'cc2f5a2260', '5d0a53c466', 'a61d544e58', 'b8c7989ac7', '92255c1caa'],
            ['551cad9946', '7a4d043a33', 'febeb9b8ee', '1b02549492', '07cff30d53', '0e3f3257a2'],
            ['7d64dab7cc', '23c1bcbebb', '5590e8a58a', '7abe2d803c', '7f18129463', 'c4f471f0b1'],
            ['3f60e396bd', '91e18c8d73', '98d7ba57b5', '23d5f36d16', '59fd6639a7', '8cc5800e3f'],
            ['53eecb6ff4', '5c724459d1', 'f71ca9d38f', 'cae9c090c3', '3fbe4349eb', 'd182c6e695'],
            ['6f02316075', 'b5384fe1c0', 'a3e2e2b492', '92eaa84103', '83f8707b27', 'b820d7f1bb'],
            ['bf057aa977', '4a5c4ad5e1', '9a3e1f0c2a', '6db6829b0f', '139ee9bae2', 'b23ba94aec'],
            ['abff01de76', 'c3cb4d7cc7', '891b394609', '8a3758a248', '294f239332', '783a71ec4f'],
            ['ef10b811b8', '57a4eba5c9', '966c1f9886', 'd795d046db', 'c0a1e034ea', 'c115c0f2a9'],
            ['0fb9afeb9d', '9c803f86b7', '80bd9abf67', 'ab72592423', '20168f238d', '97db1c7c31'],
            ['a33de9fa7c', 'd404231f1b', '2f3bb3a2d9', '19ebe12281', 'a64aae709d', 'b95427b8d4'],
        ]
        var chaizhai_list = ['1523636', '1523637', '1523638', '1523639', '1523640', '1523663', '1523664', '1523665', '1523667', '1523668', '1523669', '1523670', '1523671', '1523672', '1523675', '1523676', '1523677', '1523678', '1523679', '1523680', '1523681', '1523682', '1523683', '1523684', '1523685']
        var home_url = "https://www.hsly666.com/home/home.go?sid="
        var huayuan_url = "http://123.207.116.159:8098/mfhy/garden/index.asp?sid="
        window.onload = function () {
            if (localStorage.getItem("hs_token_idx")) {
                token_idx = Number(localStorage.getItem("hs_token_idx"))
            }
            if (localStorage.getItem("hs_isauto_shouhua")) {
                hs_isauto_shouhua = localStorage.getItem("hs_isauto_shouhua")
            }
            document.getElementById('xunhuan').innerText = '开起循环魔法' + hs_isauto_shouhua
            if (localStorage.getItem("hs_zhongzi")) {
                zhongziId = localStorage.getItem("hs_zhongzi")
            }
            if (localStorage.getItem("hs_zhongzi_name")) {
                zhongziName = localStorage.getItem("hs_zhongzi_name")
            }
            if (localStorage.getItem("hs_zhongzi_num")) {
                zhongziIdNum = localStorage.getItem("hs_zhongzi_num")
            }
            if (localStorage.getItem("hs_shuizhi")) {
                shuizhiId = localStorage.getItem("hs_shuizhi")
            }
            if (localStorage.getItem("hs_shuizhi_name")) {
                shuizhiName = localStorage.getItem("hs_shuizhi_name")
            }
            if (localStorage.getItem("hs_shuizhi_num")) {
                shuizhiIdNum = localStorage.getItem("hs_shuizhi_num")
            }
            if (localStorage.getItem("hs_token_list_all")) {
                hs_token_list_all = JSON.parse(localStorage.getItem("hs_token_list_all"))
                token_zhuhao = hs_token_list_all[0]
                token_dan = hs_token_list_all[token_idx]
            }
            if (token_dan) {
                ifr.src = huayuan_url + token_dan
            } else {
                ifr.src = "https://www.hsly666.com"
            }
            pkid.innerText = token_idx
            if (hs_isauto_shouhua == 1 && localStorage.getItem('hs_needShouhua') == 1) {
                localStorage.removeItem('hs_needShouhua')
                startFun3003()
            }
        }
        function startFun1000 () {
            token_idx = 0;
            token_dan = hs_token_list_all[token_idx];
            localStorage.setItem("hs_token_idx",token_idx);
            ifr.src = home_url + token_dan
            pkid.innerText = token_idx;
        }
        function startFun1001 () {
            var token_idx_prompt = prompt("请输入下标（数字0 ~ " + (hs_token_list_all.length-1) + "）","");
            if(token_idx_prompt){
                token_idx = parseInt(token_idx_prompt);
                token_dan = hs_token_list_all[token_idx];
                localStorage.setItem("hs_token_idx",token_idx);
                ifr.src = home_url + token_dan;
            }else{
                token_idx = 0;
                token_dan = hs_token_list_all[token_idx];
                localStorage.setItem("hs_token_idx",token_idx);
                ifr.src = home_url + token_dan;
            }
            pkid.innerText = token_idx;
        }
        function startFun1002 () {
            token_idx = token_idx + 1;
            if(token_idx >= hs_token_list_all.length){
                token_idx = 0
            }
            pkid.innerText = token_idx;
            token_dan = hs_token_list_all[token_idx];
            localStorage.setItem("hs_token_idx",token_idx);
            ifr.src = home_url + token_dan;
        }
        function startFun1003 () {
            document.getElementById('bozhong').style.display = 'block'
        }
        function startFun1004 () {
            var zhongzi = prompt(`请输入种子(当前种子:${zhongziName}-${zhongziId}-${zhongziIdNum}个)`,"");
            if (zhongzi) {
                let value1 = zhongzi.split('.')[0]
                let value2 = zhongzi.split('.')[1]
                let value3 = zhongzi.split('.')[2]
                console.log(value1,value2,value3)
                if (value1) {
                    localStorage.setItem("hs_zhongzi_name", value1);
                    zhongziName = value1
                }
                if (value2) {
                    localStorage.setItem("hs_zhongzi", value2);
                    zhongziId = value2
                }
                if (value3) {
                    localStorage.setItem("hs_zhongzi_num", value3);
                    zhongziIdNum = value3
                }
            }
        }
        function startFun1005 () {
            var shuizhi = prompt(`请输入水值(当前水值:${shuizhiName}-${shuizhiId}-${shuizhiIdNum}个)`,"");
            if (shuizhi) {
                let value1 = shuizhi.split('.')[0]
                let value2 = shuizhi.split('.')[1]
                let value3 = shuizhi.split('.')[2]
                console.log(value1,value2,value3)
                if (value1) {
                    localStorage.setItem("hs_shuizhi_name", value1);
                    shuizhiName = value1
                }
                if (value2) {
                    localStorage.setItem("hs_shuizhi", value2);
                    shuizhiId = value2
                }
                if (value3) {
                    localStorage.setItem("hs_shuizhi_num", value3);
                    shuizhiIdNum = value3
                }
            }
        }
        function startFun1006 () {
            if (hs_isauto_shouhua == 1) {
                localStorage.setItem('hs_isauto_shouhua', 0)
            } else {
                localStorage.setItem('hs_isauto_shouhua', 1)
            }
            window.location.reload()
        }
        function startFun2000 () {
            token_idx = 0;
            token_dan = hs_token_list_all[token_idx];
            localStorage.setItem("hs_token_idx",token_idx);
            ifr.src = huayuan_url + token_dan
            pkid.innerText = token_idx;
        }
        function startFun2001 () {
            ifr.src = huayuan_url + token_dan
        }
        function startFun2006 () {
            ifr.src = "http://123.207.116.159:8098/mfhy/gbag/index.asp;?sid="+token_dan+"&type=1"
            // $.post("http://123.207.116.159:8098/mfhy/plaza/buy.asp;?sid="+token_dan+"&",{
            //         type: '1',
            //         subType: '0',
            //         id: 'fkk75335xmq',
            //         count: '1'
            //     }
            // );
            // setTimeout(function () {
            //     ifr.src = "http://123.207.116.159:8098/mfhy/gbag/index.asp;?sid="+token_dan+"&type=1"
            // }, 300)
        }
        function startFun2010 () {
            ifr.src = "http://123.207.116.159:8098/mfhy/plaza/index.asp;?sid="+token_dan+"&type=1"
        }
        function startFun2007 () {
            $.post("http://123.207.116.159:8098/mfhy/plaza/buy.asp;?sid="+token_dan+"&",{
                    type: '0',
                    subType: '0',
                    id: zhongziId,
                    count: zhongziIdNum
                }
            );
        }
        function startFun2008 () {
            $.post("http://123.207.116.159:8098/mfhy/plaza/buy.asp;?sid="+token_dan+"&",{
                    type: '0',
                    subType: '0',
                    id: shuizhiId,
                    count: shuizhiIdNum
                }
            );
        }
        function startFun2002 () {
            bozhongIndex = 0
            token_idx = token_idx + 1;
            if(token_idx >= hs_token_list_all.length){
                token_idx = 0
            }
            pkid.innerText = token_idx;
            token_dan = hs_token_list_all[token_idx];
            localStorage.setItem("hs_token_idx",token_idx);
            ifr.src = huayuan_url + token_dan;
        }
        function startFun2009 () {
            bozhongIndex = 0
            token_idx = token_idx + 1;
            if(token_idx >= hs_token_list_all.length){
                token_idx = 0
            }
            pkid.innerText = token_idx;
            token_dan = hs_token_list_all[token_idx];
            localStorage.setItem("hs_token_idx",token_idx);
            startFun2004()
        }
        // 收花：http://123.207.116.159:8098/mfhy/pot/reap.asp;jsessionid=98FEBB2DAB28A6A47C2D48983B4CEA66?sid=1523636_19db5014a7f5dc45cd53&potId=edf68e7a85
        function startFun2003 () {
            let timerIndex = 0
            let potList = huapeng_list_all[token_idx]
            let timer = setInterval(function () {
                if (timerIndex >= potList.length) {
                    clearInterval(timer);
                    startFun2001();
                    indexid.innerText = '0';
                }else{
                    indexid.innerText = timerIndex;
                    ifr.src = "http://123.207.116.159:8098/mfhy/pot/reap.asp;?sid=" + token_dan + "&potId=" + potList[timerIndex];
                    timerIndex++;
                }
            }, 500)
        }
        let bozhongIndex = 0
        // 播种：http://123.207.116.159:8098/mfhy/pot/sowIndex.asp;jsessionid=1E163B01D84BA54C4B293CA64145367B?sid=1523636_19db5014a7f5dc45cd53&potId=edf68e7a85
        function startFun2004 () {
            indexid.innerText = bozhongIndex;
            let potList = huapeng_list_all[token_idx]
            ifr.src = "http://123.207.116.159:8098/mfhy/pot/sowIndex.asp;?sid=" + token_dan + "&potId=" + potList[bozhongIndex];
            bozhongIndex++
            if (bozhongIndex > potList.length) {
                startFun2001();
                bozhongIndex = 0
                indexid.innerText = '0';
            }
        }
        // 自己
        // 浇水：http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid=1523638_ca4f80a3baccea6b0dc6&potId=bed2a53830&htype=1
        // 除草：http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid=1523638_ca4f80a3baccea6b0dc6&potId=bed2a53830&htype=2
        // 捉虫：http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid=1523638_ca4f80a3baccea6b0dc6&potId=bed2a53830&htype=3
        function startFun2005 () {
            startFun20051(token_dan, token_idx)
        }
        function startFun20051 (token, potIndex, fun) {
            let timerIndex = 0
            let potList = huapeng_list_all[potIndex]
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=1"
            }, 1500)
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=2"
            }, 3000)
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=3"
            }, 4500)
            let timer = setInterval(function () {
                if (timerIndex >= potList.length - 1) {
                    clearInterval(timer);
                    setTimeout(function () {
                        startFun2001();
                        if (typeof fun == "function") {
                            fun(true)
                        }
                    }, 2000)
                    indexid.innerText = '0';
                }else{
                    indexid.innerText = timerIndex;
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=1"
                    }, 1500)
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=2"
                    }, 3000)
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/pot/doopera.asp;?sid="+token+"&potId="+potList[timerIndex]+"&htype=3"
                    }, 4500)
                    timerIndex++;
                }
            }, 5500) 
        }
        // 帮助
        // 浇水：http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid=1263966_b66ea7a917dfd012700f&potId=edf68e7a85&htype=1&otherId=1523636
        // 除草：http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid=1263966_b66ea7a917dfd012700f&potId=edf68e7a85&htype=2&otherId=1523636
        // 捉虫：http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid=1263966_b66ea7a917dfd012700f&potId=edf68e7a85&htype=3&otherId=1523636
        
        let token_idx_task_help = 1
        function startFun3001 (isNext) {
            pkid.innerText = token_idx_task_help
            if (isNext === true) {
                token_idx_task_help++
                if (token_idx_task_help >= hs_token_list_all.length) {
                    token_idx_task_help = 1
                    startFun2000()
                } else {
                    startFun30011(token_idx_task_help, startFun3001)
                }
            } else {
                startFun30011(token_idx_task_help, startFun3001)
            }
        }
        function startFun30011 (potIndex, fun) {
            let timerIndex = 0
            let potList = huapeng_list_all[potIndex]
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=1&otherId=" + chaizhai_list[potIndex-1]
            }, 500)
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=2&otherId=" + chaizhai_list[potIndex-1]
            }, 1000)
            setTimeout(function () {
                ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=3&otherId=" + chaizhai_list[potIndex-1]
            }, 1500)
            let timer = setInterval(function () {
                if (timerIndex >= potList.length - 1) {
                    clearInterval(timer);
                    setTimeout(function () {
                        startFun2001();
                        if (typeof fun == "function") {
                            fun(true)
                        }
                    }, 500)
                    indexid.innerText = '0';
                }else{
                    indexid.innerText = timerIndex;
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=1&otherId=" + chaizhai_list[potIndex-1]
                    }, 500)
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=2&otherId=" + chaizhai_list[potIndex-1]
                    }, 1000)
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/gfri/friDoopera.asp;?sid="+token_zhuhao+"&potId="+potList[timerIndex]+"&htype=3&otherId=" + chaizhai_list[potIndex-1]
                    }, 1500)
                    timerIndex++;
                }
            }, 1700) 
        }
        // 帮助
        // 采摘：http://123.207.116.159:8098/mfhy/gfri/pick.asp;jsessionid=F6C0D03E397C30BEDD602E0D5BD96016?sid=1263966_b66ea7a917dfd012700f&potId=edf68e7a85&otherId=1523636
        let one_index = 0;
        let two_index = 0;
        let timer1 = null
        function startFun3002 () {
            pkid.innerText = one_index + 1
            let potList = huapeng_list_all[one_index+1]
            timer1 = setInterval(function () {
                indexid.innerText = two_index
                ifr.src = "http://123.207.116.159:8098/mfhy/gfri/pick.asp;?sid="+ token_zhuhao +"&potId="+ potList[two_index] +"&otherId=" + chaizhai_list[one_index];
                two_index++
                if(two_index>=potList.length){
                    clearInterval(timer1);
                    timer1 = null
                    setTimeout(function(){
                        startFun2000()
                        two_index = 0;
                        one_index++;
                        if(one_index<chaizhai_list.length){
                            startFun3002()
                        } else {
                            startFun3003()
                        }
                    },500)
                }
            }, 500)
        }
        // 播种
        // 一键收花(小号)：http://123.207.116.159:8098/mfhy/pot/sow.asp;?sid=1523637_d4222463663eb99b67ee&seedId=8i3933586d&potId=c69934a882
        let one_index_bz = 0;
        let two_index_bz = 0;
        let timer1_bz = null
        function startFun3007 () {
            pkid.innerText = one_index_bz
            let potList = huapeng_list_all[one_index_bz]
            timer1_self = setInterval(function () {
                indexid.innerText = two_index_bz
                ifr.src = "http://123.207.116.159:8098/mfhy/pot/sow.asp;?sid="+ hs_token_list_all[one_index_bz] + "&seedId="+ zhongziId +"&potId="+ potList[two_index_bz];
                two_index_bz++
                if(two_index_bz>=potList.length){
                    clearInterval(timer1_self);
                    timer1_self = null
                    setTimeout(function(){
                        two_index_bz = 0;
                        one_index_bz++;
                        ifr.src = huayuan_url + hs_token_list_all[one_index_bz]
                        if(one_index_bz<chaizhai_list.length+1){
                            startFun3007()
                        } else {
                            one_index_bz = 0
                            two_index_bz = 0
                            startFun3004()
                        }
                    }, 500)
                }
            }, 500)
        }
        // 自己
        // 一键收花(小号)：http://123.207.116.159:8098/mfhy/pot/reap.asp;jsessionid=98FEBB2DAB28A6A47C2D48983B4CEA66?sid=1523636_19db5014a7f5dc45cd53&potId=edf68e7a85
        let one_index_self = 0;
        let two_index_self = 0;
        let timer1_self = null
        function startFun3003 () {
            pkid.innerText = one_index_self
            let potList = huapeng_list_all[one_index_self]
            timer1_self = setInterval(function () {
                indexid.innerText = two_index_self
                ifr.src = "http://123.207.116.159:8098/mfhy/pot/reap.asp;?sid="+ hs_token_list_all[one_index_self] +"&potId="+ potList[two_index_self];
                two_index_self++
                if(two_index_self>=potList.length){
                    clearInterval(timer1_self);
                    timer1_self = null
                    setTimeout(function(){
                        two_index_self = 0;
                        one_index_self++;
                        ifr.src = huayuan_url + hs_token_list_all[one_index_self]
                        if(one_index_self<chaizhai_list.length+1){
                            startFun3003()
                        } else {
                            one_index_self = 0
                            two_index_self = 0
                            one_index_bz = 0
                            two_index_bz = 0
                            startFun3008()
                        }
                    }, 500)
                }
            }, 500)
        }
        // 一键打理
        let token_idx_task = 0
        let token_dan_task = ''
        function startFun3004 (isNext) {
            if (isNext === true) {
                token_idx_task++
                pkid.innerText = token_idx_task
                token_dan_task = hs_token_list_all[token_idx_task]
                if (token_idx_task >= hs_token_list_all.length) {
                    token_idx_task = 0
                    token_dan_task = ''
                    localStorage.setItem('hs_needShouhua', 1)
                    setTimeout(function () {
                        window.location.reload()
                    }, 500)
                } else {
                    startFun20051(token_dan_task, token_idx_task, startFun3004)
                }
            } else {
                pkid.innerText = token_idx_task
                token_dan_task = hs_token_list_all[token_idx_task]
                startFun20051(token_dan_task, token_idx_task, startFun3004)
            }
        }
        // 一键签到
        // http://123.207.116.159:8098/mfhy/gnote/note.asp;?sid=1523663_9a23ef0dc097d2dd8ad2
        // http://123.207.116.159:8098/mfhy/gnote/rewardInfo.asp;?sid=1523663_9a23ef0dc097d2dd8ad2
        // http://123.207.116.159:8098/mfhy/gnote/takeAward.asp;?sid=1523685_e1e31ed06c7a2d07e141
        function startFun3005 () {
            let qiandao_index = 0
            let timer = setInterval(function () {
                if (qiandao_index >= hs_token_list_all.length) {
                    clearInterval(timer);
                    startFun2000();
                }else{
                    pkid.innerText = qiandao_index;
                    ifr.src = "http://123.207.116.159:8098/mfhy/gnote/note.asp;?sid="+ hs_token_list_all[qiandao_index];
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/gnote/rewardInfo.asp;?sid="+ hs_token_list_all[qiandao_index];
                        qiandao_index++;
                    }, 500)
                    setTimeout(function () {
                        ifr.src = "http://123.207.116.159:8098/mfhy/gnote/takeAward.asp;?sid="+ hs_token_list_all[qiandao_index];
                        qiandao_index++;
                    }, 1000)
                }
            }, 1520)
        }
        // 一键购买天官赐福
        function startFun3006 () {
            let task_index = 0
            let timer = setInterval(function () {
                if (task_index >= hs_token_list_all.length) {
                    clearInterval(timer);
                    startFun30061()
                }else{
                    pkid.innerText = task_index;
                        $.post("http://123.207.116.159:8098/mfhy/plaza/buy.asp;?sid="+hs_token_list_all[task_index]+"&",{
                            type: '1',
                            subType: '0',
                            id: 'fkk75335xmq',
                            count: '1'
                        });
                    task_index++;
                }
            }, 500)
        }
        // 一键购买种子
        function startFun3008 () {
            let task_index = 0
            let timer = setInterval(function () {
                if (task_index >= hs_token_list_all.length) {
                    clearInterval(timer);
                    startFun3007()
                }else{
                    pkid.innerText = task_index;
                        $.post("http://123.207.116.159:8098/mfhy/plaza/buy.asp;?sid="+hs_token_list_all[task_index]+"&",{
                                type: '0',
                                subType: '0',
                                id: zhongziId,
                                count: zhongziIdNum
                            }
                        );
                    task_index++;
                }
            }, 500)
        }
        // 回收天官赐福
        function startFun30061 () {
            let task_index = 0
            let timer = setInterval(function () {
                if (task_index >= hs_token_list_all.length) {
                    clearInterval(timer);
                    startFun2000();
                }else{
                    pkid.innerText = task_index;
                    $.post("http://123.207.116.159:8098/mfhy/gbag/sell.asp;?sid="+hs_token_list_all[task_index],{
                        modelId: '0s48531nls',
                        count: '1'
                    })
                    task_index++;
                }
            }, 500)
        }
    </script>
</body>

</html>